/*
 * @FilePath     : /study_code/scss/symbol-&.scss
 * @Description  : & 符号：指代父选择器
 * @Date         : 2025-04-23 14:39:42
 * @Author       : Fang YingGui
 * @LastEditors  : fangyinggui 18715384437@163.com
 * @LastEditTime : 2025-04-23 15:01:57
 */

/* 1、普通使用 */
a {
  font-weight: bold;
  text-decoration: none;
  &:hover {
    text-decoration: underline;
  }
  body.firefox & {
    font-weight: normal;
  }
}

/* 2、用于 BEM 风格代码书写 */
.login {
  &__form {
    width: 400px;
  }
  &__btn {
    &_submit {
      color: blue;
    }
    &_clear {
      color: red;
    }
  }
}
